
<%@ page import="apralms.Parameter" %>
<!doctype html>
<html>
	<head>
		<meta name="layout" content="main">
		<g:set var="entityName" value="${message(code: 'parameter.label', default: 'Parameter')}" />
		<title><g:message code="default.show.label" args="[entityName]" /></title>
	</head>
	<body>
		<a href="#show-parameter" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
		<div class="nav" role="navigation">
			<ul>
				<li><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></li>
				<li><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></li>
				<li><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></li>
			</ul>
		</div>
		<div id="show-parameter" class="content scaffold-show" role="main">
			<h1><g:message code="default.show.label" args="[entityName]" /></h1>
			<g:if test="${flash.message}">
			<div class="message" role="status">${flash.message}</div>
			</g:if>
			<ol class="property-list parameter">
			
				<g:if test="${parameterInstance?.code}">
				<li class="fieldcontain">
					<span id="code-label" class="property-label"><g:message code="parameter.code.label" default="Code" /></span>
					
						<span class="property-value" aria-labelledby="code-label"><g:fieldValue bean="${parameterInstance}" field="code"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${parameterInstance?.name}">
				<li class="fieldcontain">
					<span id="name-label" class="property-label"><g:message code="parameter.name.label" default="Name" /></span>
					
						<span class="property-value" aria-labelledby="name-label"><g:fieldValue bean="${parameterInstance}" field="name"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${parameterInstance?.type}">
				<li class="fieldcontain">
					<span id="type-label" class="property-label"><g:message code="parameter.type.label" default="Type" /></span>
					
						<span class="property-value" aria-labelledby="type-label"><g:fieldValue bean="${parameterInstance}" field="type"/></span>
					
				</li>
				</g:if>
			
				<li class="fieldcontain">
					<span id="suit1-label" class="property-label"><g:message code="parameter.suit1.label" default="Suit1" /></span>
					
						<span class="property-value" aria-labelledby="suit1-label"><g:formatBoolean boolean="${parameterInstance?.suit1}" /></span>
					
				</li>
			
				<li class="fieldcontain">
					<span id="suit2-label" class="property-label"><g:message code="parameter.suit2.label" default="Suit2" /></span>
					
						<span class="property-value" aria-labelledby="suit2-label"><g:formatBoolean boolean="${parameterInstance?.suit2}" /></span>
					
				</li>
			
				<li class="fieldcontain">
					<span id="suit3-label" class="property-label"><g:message code="parameter.suit3.label" default="Suit3" /></span>
					
						<span class="property-value" aria-labelledby="suit3-label"><g:formatBoolean boolean="${parameterInstance?.suit3}" /></span>
					
				</li>
			
				<li class="fieldcontain">
					<span id="suit4-label" class="property-label"><g:message code="parameter.suit4.label" default="Suit4" /></span>
					
						<span class="property-value" aria-labelledby="suit4-label"><g:formatBoolean boolean="${parameterInstance?.suit4}" /></span>
					
				</li>
			
				<li class="fieldcontain">
					<span id="suit5-label" class="property-label"><g:message code="parameter.suit5.label" default="Suit5" /></span>
					
						<span class="property-value" aria-labelledby="suit5-label"><g:formatBoolean boolean="${parameterInstance?.suit5}" /></span>
					
				</li>
			
				<li class="fieldcontain">
					<span id="suit6-label" class="property-label"><g:message code="parameter.suit6.label" default="Suit6" /></span>
					
						<span class="property-value" aria-labelledby="suit6-label"><g:formatBoolean boolean="${parameterInstance?.suit6}" /></span>
					
				</li>
			
				<li class="fieldcontain">
					<span id="tag1-label" class="property-label"><g:message code="parameter.tag1.label" default="Tag1" /></span>
					
						<span class="property-value" aria-labelledby="tag1-label"><g:formatBoolean boolean="${parameterInstance?.tag1}" /></span>
					
				</li>
			
				<li class="fieldcontain">
					<span id="tag2-label" class="property-label"><g:message code="parameter.tag2.label" default="Tag2" /></span>
					
						<span class="property-value" aria-labelledby="tag2-label"><g:formatBoolean boolean="${parameterInstance?.tag2}" /></span>
					
				</li>
			
				<g:if test="${parameterInstance?.definition}">
				<li class="fieldcontain">
					<span id="definition-label" class="property-label"><g:message code="parameter.definition.label" default="Definition" /></span>
					
						<span class="property-value" aria-labelledby="definition-label"><g:fieldValue bean="${parameterInstance}" field="definition"/></span>
					
				</li>
				</g:if>
			
			</ol>
			<g:form>
				<fieldset class="buttons">
					<g:hiddenField name="id" value="${parameterInstance?.id}" />
					<g:link class="edit" action="edit" id="${parameterInstance?.id}"><g:message code="default.button.edit.label" default="Edit" /></g:link>
					<g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" />
				</fieldset>
			</g:form>
		</div>
	</body>
</html>
